Return

Edit Task: AllowVariableDuration

Description

The AllowVariableDuration attribute under EditTask defines whether the task's assignments are of a variable or fixed duration. When the value is set to false, the attribute is to be used in conjunction with the DurationFixed attribute.

Parameters

ParameterDescription
AllowVariableDurationA Boolean value. When the parameter value is true, the task's assignment is set to be of variable duration, else the assignment is set to a fixed duration.

Examples

Allow a task to have variable duration

PATCH api/task/TaskA

Body:

{

"AllowVariableDuration" : "TRUE"

}